package com.test.ws.s1.mapper;

import com.test.ws.s1.bean.Order;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

public interface OrderDao {
    /// 查询
    List<Order> selectOrder(@Param("order") Order order, @Param("page") int page);
    /// 查询全部
    List<Order> selectOrderAll(@Param("order") Order order);
    /// 增加
    int insertOrder(Order order);
    /// 删除订单
    int deleteOrder(Order order);
}
